package com.haier.service;

import com.haier.dao.student.StudentDao;
import com.haier.pojo.Student;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class StudentServiceImpl implements StudentService {

    @Resource
    private StudentDao studentDao;
    @Override
    public Student selectStudent(Integer id) {
        return studentDao.selectStudent(id);
    }
}
